Skip to content

Instantly share code, notes, and snippets.

These instructions are based on this blogpost by Anton Semjonov and this video by Animortis Productions. Please follow the link if you want more details, they go into much more detail about each step, whereas this document is more focused on being a concise cheat sheet. Let's go.

Install base system

Boot the Ubuntu installation medium. When asked, choose the "Try Ubuntu" option and open a terminal.

Switch to root, otherwise you'll have to type sudo all the time:

sudo su -
@revolunet
revolunet / countries-FR.json
Last active May 21, 2024 21:05
Liste des pays en FR
{
"AF": "Afghanistan",
"ZA": "Afrique du Sud",
"AL": "Albanie",
"DZ": "Algérie",
"DE": "Allemagne",
"AD": "Andorre",
"AO": "Angola",
"AI": "Anguilla",
"AQ": "Antarctique",
@realvjy
realvjy / ChoasLinesShader.metal
Last active May 21, 2024 21:04
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);

How to install Homebrew package manager on Steam Deck

(See also installing Distrobox: https://distrobox.it/ )
(See also installing Nix package manager: https://determinate.systems/posts/nix-on-the-steam-deck )

You can install Homebrew (a package manager for macOS and Linux) without disabling the read-only partition with sudo steamos-readonly disable.
The package manager can be used alongside Flatpaks. Some software is only available on Flathub, and some software is only available on Homebrew.

  1. Switch to desktop mode (hold power button until a menu appears, then select "Switch to desktop mode")
  2. Click the logo at the bottom left, go to System, then go to Konsole
@a-nldisr
a-nldisr / keybase_cp.sh
Last active May 21, 2024 21:00
Keybase CP script.
#!/usr/bin/env bash
# Script created by Rogier Dikkes.
# This script is licensed under the GNU GPL version 3.0.
# This script is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Dayjo
Dayjo / gist-editor-resize-userscript.js
Last active May 21, 2024 20:58
Make Gist editor automatically resize based on content using a TamperMonkey script
// ==UserScript==
// @name gist-editor-resize-userscript
// @namespace https://gist.github.com/
// @version 0.1
// @description Automatically resize the gist editor for easier editing.
// @match http*://gist.github.com/*
// @copyright 2013+ Joel Day - blog.dayjo.org
// ==/UserScript==
var textareas = document.querySelectorAll('textarea.file_contents');
@tkapias
tkapias / README.md
Last active May 21, 2024 20:58
Displaying HTML emails in Neomutt's pager

Displaying HTML emails in Neomutt's pager

Neomutt configuration

My neomutt config files are huge and even their path is cusmotized.

I'm just sharing parts about auto_view and HTML mailcap, please update your config accordingly.

Customize and Build html2text

// Build d8 using:
// a) Run once
// git checkout 6f98fbe86a0d11e6c902e2ee50f609db046daf71
// gclient sync
// gn gen ./out/x64.debug
// gn gen ./out/x64.release
//
// b)
// Debug Build:
// ninja -C ./out/x64.debug d8
@kevin-david
kevin-david / esphome-esp32-wave-radon-proxy.yml
Last active May 21, 2024 20:57
Airthings Wave Radon: ESPHome Sensor / Proxy
##
## See https://github.com/kevin-david/home-assistant-shared/blob/main/esphome/esp32-wave-radon-proxy.yml for future updates
##
substitutions:
name: "<YOUR_DEVICE_NAME_HERE>"
wave_serial: "<YOUR_SERIAL_OR_UNIQUE_ID_HERE>"
# See https://esphome.io/components/sensor/airthings_ble.html for how to find this
# Note: If you have your ESP32 connected to your Wave device, it might cause problems syncing with your phone
# Suggest powering down the ESP device before running firmware updates or attempting to sync with AirThings cloud, if you care about that
@dgibbs64
dgibbs64 / SteamCMDCommmandsandCionvars
Created May 9, 2015 09:51
SteamCMD Commands and Convars
Convars:
app_info_http_min = "0" :
app_info_http_num_sockets = "8" :
AsyncFileIODisableWrite = "0" :
AsyncFileIOExpectOutstandingIO = "16" :
AsyncFileIOForceGenericIO = "0" :
AsyncFileIOMaxPending = "128" :
AsyncFileIOReadHandleCache = "32" :
AsyncFileIOWriteHandleCache = "128" :
batterypercent = "0" :